.class public final Lnbisdk/sh;
.super Ljava/lang/Object;


# static fields
.field private static final Aa:[B

.field private static final Ab:[B

.field private static final zO:[B

.field private static final zP:[B

.field private static final zQ:[B

.field private static final zR:[B

.field private static final zS:[B

.field private static final zT:[B

.field private static final zU:[B

.field private static final zV:[B

.field private static final zW:[B

.field private static final zX:[B

.field private static final zY:[B

.field private static final zZ:[B


# instance fields
.field private zN:Lnbisdk/fk;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-string v0, "continue"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zO:[B

    const-string v0, "show-turn"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zP:[B

    const-string v0, "prepare"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zQ:[B

    const-string v0, "turn"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zR:[B

    const-string v0, "past-turn"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zS:[B

    const-string v0, "recalc"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zT:[B

    const-string v0, "soft-recalc"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zU:[B

    const-string v0, "recalc-confirm"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zV:[B

    const-string v0, "recalc-traffic"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zW:[B

    const-string v0, "traffic-congestion"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zX:[B

    const-string v0, "traffic-incident"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zY:[B

    const-string v0, "traffic-alert"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->zZ:[B

    const-string v0, "traffic-delay"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->Aa:[B

    const-string v0, "calc"

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    sput-object v0, Lnbisdk/sh;->Ab:[B

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private a(ILnbisdk/fk;Lnbisdk/b;)Lnbisdk/fk;
    .locals 6

    const/4 v5, 0x0

    move-object v0, p3

    move-object v1, p2

    move v2, p1

    :goto_0
    if-nez v1, :cond_0

    move-object v0, v5

    :goto_1
    return-object v0

    :cond_0
    invoke-virtual {v1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v1

    :cond_1
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v3

    if-eqz v3, :cond_4

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v3

    const-string v4, "image"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    move-object v0, p0

    goto :goto_1

    :cond_2
    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v3

    const-string v4, "if-left-side-traffic"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    invoke-virtual {v0, v2}, Lnbisdk/b;->p(I)Z

    move-result v3

    if-nez v3, :cond_1

    move-object v1, p0

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v3

    const-string v4, "if-right-side-traffic"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-virtual {v0, v2}, Lnbisdk/b;->p(I)Z

    move-result v3

    if-eqz v3, :cond_1

    move-object v1, p0

    goto :goto_0

    :cond_4
    move-object v0, v5

    goto :goto_1
.end method

.method private a(Lnbisdk/fk;I[B[B)Lnbisdk/fk;
    .locals 8

    const/4 v7, 0x0

    const/4 v0, 0x0

    invoke-virtual {p1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v1

    move v2, v0

    move-object v0, v7

    :cond_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v3

    if-eqz v3, :cond_3

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    if-eqz p0, :cond_0

    const-string v3, "instruction"

    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    const-string v3, "turn"

    invoke-static {p0, v3}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v3

    array-length v4, v3

    if-lez v4, :cond_4

    :goto_0
    invoke-static {v3, p3}, Lnbisdk/qm;->b([B[B)I

    move-result v3

    if-eqz v3, :cond_0

    const-string v4, "pos"

    invoke-static {p0, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    invoke-static {p2}, Lnbisdk/sh;->bs(I)[B

    move-result-object v5

    if-eqz v4, :cond_1

    array-length v6, v4

    if-lez v6, :cond_1

    if-eqz v5, :cond_0

    invoke-static {v4, v5}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_0

    :cond_1
    const-string v4, "stacknext"

    invoke-static {p0, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    array-length v5, v4

    if-lez v5, :cond_5

    :goto_1
    invoke-static {v4, p4}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v3, :cond_2

    if-eqz v4, :cond_2

    add-int v5, v3, v4

    if-le v5, v2, :cond_2

    add-int v0, v3, v4

    move v2, v0

    move-object v0, p0

    :cond_2
    const/4 v3, 0x6

    if-lt v2, v3, :cond_0

    :cond_3
    return-object v0

    :cond_4
    move-object v3, v7

    goto :goto_0

    :cond_5
    move-object v4, v7

    goto :goto_1
.end method

.method private a(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z
    .locals 3

    const/4 v2, 0x0

    :try_start_0
    invoke-static {p4, p2, p1}, Lnbisdk/sh;->a(Lnbisdk/b;Ljava/lang/String;I)Z

    move-result v0

    invoke-static {p4, p3, p1}, Lnbisdk/sh;->a(Lnbisdk/b;Ljava/lang/String;I)Z
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    move v0, v2

    goto :goto_0

    :catch_0
    move-exception v0

    move v0, v2

    goto :goto_0
.end method

.method private static a(Ljava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x0

    :try_start_0
    const-string v0, "start"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p2}, Lnbisdk/b;->d()Lnbisdk/ej;

    move-result-object v0

    :goto_0
    const-string v1, "start"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p2}, Lnbisdk/b;->d()Lnbisdk/ej;

    move-result-object v1

    :goto_1
    if-nez v0, :cond_2

    if-nez v1, :cond_2

    const/4 v0, 0x1

    :goto_2
    return v0

    :cond_0
    const-string v0, "destination"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-virtual {p2}, Lnbisdk/b;->e()Lnbisdk/ej;

    move-result-object v0

    goto :goto_0

    :cond_1
    const-string v1, "destination"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    invoke-virtual {p2}, Lnbisdk/b;->e()Lnbisdk/ej;

    move-result-object v1

    goto :goto_1

    :cond_2
    if-eqz v0, :cond_3

    if-nez v1, :cond_4

    :cond_3
    move v0, v2

    goto :goto_2

    :cond_4
    invoke-virtual {v0, v1}, Lnbisdk/ej;->equals(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    goto :goto_2

    :catch_0
    move-exception v0

    move v0, v2

    goto :goto_2

    :cond_5
    move-object v1, v3

    goto :goto_1

    :cond_6
    move-object v0, v3

    goto :goto_0
.end method

.method private static a(Lnbisdk/b;Ljava/lang/String;I)Z
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/jr;
        }
    .end annotation

    const-string v0, "unnamed"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0, p2}, Lnbisdk/b;->n(I)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const-string v0, "navigating"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lnbisdk/b;->i()Z

    move-result v0

    goto :goto_0

    :cond_1
    new-instance v0, Lnbisdk/jr;

    const-string v1, "invalid name"

    invoke-direct {v0, v1}, Lnbisdk/jr;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private a(Lnbisdk/fk;ILnbisdk/b;)Z
    .locals 3

    const-string v0, "s1"

    invoke-static {p1, v0}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "s2"

    invoke-static {p1, v1}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "dist"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string v2, "mdist"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string v2, "tripdist"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    :cond_0
    invoke-direct {p0, p2, v0, v1, p3}, Lnbisdk/sh;->b(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z

    move-result v0

    :goto_0
    return v0

    :cond_1
    const-string v2, "triptime"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    const-string v2, "navpos"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    :cond_2
    invoke-direct {p0, p2, v0, v1, p3}, Lnbisdk/sh;->c(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z

    move-result v0

    goto :goto_0

    :cond_3
    const-string v2, "cardinal"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    const-string v2, "oname"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    const-string v2, "dname"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    const-string v2, "aname"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    const-string v2, "tcode"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    const-string v2, "scode"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    :cond_4
    invoke-direct {p0, p2, v0, v1, p3}, Lnbisdk/sh;->d(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z

    move-result v0

    goto :goto_0

    :cond_5
    const-string v2, "start"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_6

    const-string v2, "destination"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    :cond_6
    invoke-static {v0, v1, p3}, Lnbisdk/sh;->a(Ljava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z

    move-result v0

    goto :goto_0

    :cond_7
    const-string v2, "unnamed"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_8

    invoke-direct {p0, p2, v0, v1, p3}, Lnbisdk/sh;->a(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z

    move-result v0

    goto :goto_0

    :cond_8
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private static a(Lnbisdk/b;I)[B
    .locals 3

    const/4 v2, 0x0

    const/4 v0, -0x1

    :try_start_0
    invoke-virtual {p0, p1}, Lnbisdk/b;->k(I)I
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_1

    move-result v0

    :goto_0
    const/4 v1, 0x5

    if-eq v0, v1, :cond_0

    const/4 v1, 0x6

    if-eq v0, v1, :cond_0

    const/4 v1, 0x7

    if-eq v0, v1, :cond_0

    const/16 v1, 0xe

    if-eq v0, v1, :cond_0

    const/16 v1, 0xc

    if-eq v0, v1, :cond_0

    const/16 v1, 0xd

    if-eq v0, v1, :cond_0

    const/16 v1, 0x8

    if-ne v0, v1, :cond_1

    :cond_0
    move-object v0, v2

    :goto_1
    return-object v0

    :cond_1
    :try_start_1
    invoke-virtual {p0, p1}, Lnbisdk/b;->l(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B
    :try_end_1
    .catch Lnbisdk/jr; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v0

    goto :goto_1

    :catch_0
    move-exception v0

    move-object v0, v2

    goto :goto_1

    :catch_1
    move-exception v1

    goto :goto_0
.end method

.method private aO(Ljava/lang/String;)Lnbisdk/fk;
    .locals 3

    iget-object v0, p0, Lnbisdk/sh;->zN:Lnbisdk/fk;

    invoke-virtual {v0}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "section"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "name"

    invoke-static {p0, v1}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    move-object v0, p0

    :goto_0
    return-object v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private static b(Lnbisdk/b;Ljava/lang/String;I)D
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/jr;
        }
    .end annotation

    const-string v0, "dist"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0, p2}, Lnbisdk/b;->c(I)D

    move-result-wide v0

    :goto_0
    return-wide v0

    :cond_0
    const-string v0, "mdist"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0, p2}, Lnbisdk/b;->d(I)D

    move-result-wide v0

    goto :goto_0

    :cond_1
    const-string v0, "maxdist"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lnbisdk/b;->g()D

    move-result-wide v0

    goto :goto_0

    :cond_2
    const-string v0, "aheaddist"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0, p2}, Lnbisdk/b;->s(I)D

    move-result-wide v0

    goto :goto_0

    :cond_3
    const-string v0, "tripremaindist"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lnbisdk/b;->j()D

    move-result-wide v0

    goto :goto_0

    :cond_4
    const-string v0, "stackdist"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-virtual {p0}, Lnbisdk/b;->l()D

    move-result-wide v0

    goto :goto_0

    :cond_5
    new-instance v0, Lnbisdk/jr;

    const-string v1, "invalid name"

    invoke-direct {v0, v1}, Lnbisdk/jr;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V
    .locals 9

    invoke-virtual {p1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v8

    :goto_0
    invoke-interface {v8}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v8}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/fk;

    move-object v0, p2

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move-object v6, p6

    move-object v7, p0

    invoke-virtual/range {v0 .. v7}, Lnbisdk/mz;->a(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;Lnbisdk/sh;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method private b(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z
    .locals 5

    const/4 v4, 0x0

    :try_start_0
    invoke-static {p4, p2, p1}, Lnbisdk/sh;->b(Lnbisdk/b;Ljava/lang/String;I)D

    move-result-wide v0

    invoke-static {p4, p3, p1}, Lnbisdk/sh;->b(Lnbisdk/b;Ljava/lang/String;I)D
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result-wide v2

    cmpl-double v0, v0, v2

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    move v0, v4

    goto :goto_0

    :catch_0
    move-exception v0

    move v0, v4

    goto :goto_0
.end method

.method private static b(Lnbisdk/b;I)[B
    .locals 3

    const/4 v2, 0x0

    const/4 v0, -0x1

    :try_start_0
    invoke-virtual {p0, p1}, Lnbisdk/b;->k(I)I
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_1

    move-result v0

    :goto_0
    const/4 v1, 0x5

    if-eq v0, v1, :cond_0

    const/4 v1, 0x6

    if-eq v0, v1, :cond_0

    const/4 v1, 0x7

    if-eq v0, v1, :cond_0

    const/16 v1, 0xe

    if-eq v0, v1, :cond_0

    const/16 v1, 0xc

    if-eq v0, v1, :cond_0

    const/16 v1, 0xd

    if-eq v0, v1, :cond_0

    const/16 v1, 0x8

    if-ne v0, v1, :cond_1

    :cond_0
    move-object v0, v2

    :goto_1
    return-object v0

    :cond_1
    :try_start_1
    invoke-virtual {p0, p1}, Lnbisdk/b;->m(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B
    :try_end_1
    .catch Lnbisdk/jr; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v0

    goto :goto_1

    :catch_0
    move-exception v0

    move-object v0, v2

    goto :goto_1

    :catch_1
    move-exception v1

    goto :goto_0
.end method

.method private static bs(I)[B
    .locals 1

    const/4 v0, 0x0

    packed-switch p0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-object v0

    :pswitch_1
    sget-object v0, Lnbisdk/sh;->zO:[B

    goto :goto_0

    :pswitch_2
    sget-object v0, Lnbisdk/sh;->zP:[B

    goto :goto_0

    :pswitch_3
    sget-object v0, Lnbisdk/sh;->zQ:[B

    goto :goto_0

    :pswitch_4
    sget-object v0, Lnbisdk/sh;->zR:[B

    goto :goto_0

    :pswitch_5
    sget-object v0, Lnbisdk/sh;->zS:[B

    goto :goto_0

    :pswitch_6
    sget-object v0, Lnbisdk/sh;->zT:[B

    goto :goto_0

    :pswitch_7
    sget-object v0, Lnbisdk/sh;->zU:[B

    goto :goto_0

    :pswitch_8
    sget-object v0, Lnbisdk/sh;->zV:[B

    goto :goto_0

    :pswitch_9
    sget-object v0, Lnbisdk/sh;->zW:[B

    goto :goto_0

    :pswitch_a
    sget-object v0, Lnbisdk/sh;->zX:[B

    goto :goto_0

    :pswitch_b
    sget-object v0, Lnbisdk/sh;->zY:[B

    goto :goto_0

    :pswitch_c
    sget-object v0, Lnbisdk/sh;->zZ:[B

    goto :goto_0

    :pswitch_d
    sget-object v0, Lnbisdk/sh;->Aa:[B

    goto :goto_0

    :pswitch_e
    sget-object v0, Lnbisdk/sh;->Ab:[B

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_0
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method

.method private static c(Lnbisdk/b;I)I
    .locals 2

    const/4 v1, -0x1

    :try_start_0
    invoke-virtual {p0, p1}, Lnbisdk/b;->k(I)I
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    :goto_0
    if-ne v0, v1, :cond_0

    const/4 v0, 0x0

    :cond_0
    return v0

    :catch_0
    move-exception v0

    move v0, v1

    goto :goto_0
.end method

.method private static c(Lnbisdk/b;Ljava/lang/String;I)J
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/jr;
        }
    .end annotation

    const-string v0, "triptime"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lnbisdk/b;->c()J

    move-result-wide v0

    :goto_0
    return-wide v0

    :cond_0
    const-string v0, "navpos"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0, p2}, Lnbisdk/b;->k(I)I

    move-result v0

    int-to-long v0, v0

    goto :goto_0

    :cond_1
    const-string v0, "step"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0, p2}, Lnbisdk/b;->q(I)I

    move-result v0

    int-to-long v0, v0

    goto :goto_0

    :cond_2
    const-string v0, "totalsteps"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0, p2}, Lnbisdk/b;->r(I)I

    move-result v0

    int-to-long v0, v0

    goto :goto_0

    :cond_3
    const-string v0, "tripremaintime"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lnbisdk/b;->k()J

    move-result-wide v0

    goto :goto_0

    :cond_4
    new-instance v0, Lnbisdk/jr;

    const-string v1, "invalid name"

    invoke-direct {v0, v1}, Lnbisdk/jr;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private c(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z
    .locals 5

    const/4 v4, 0x0

    :try_start_0
    invoke-static {p4, p2, p1}, Lnbisdk/sh;->c(Lnbisdk/b;Ljava/lang/String;I)J

    move-result-wide v0

    invoke-static {p4, p3, p1}, Lnbisdk/sh;->c(Lnbisdk/b;Ljava/lang/String;I)J
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result-wide v2

    cmp-long v0, v0, v2

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    move v0, v4

    goto :goto_0

    :catch_0
    move-exception v0

    move v0, v4

    goto :goto_0
.end method

.method private static d(Lnbisdk/b;I)I
    .locals 2

    move v0, p1

    :goto_0
    :try_start_0
    invoke-virtual {p0, v0}, Lnbisdk/b;->n(I)Z
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    if-eqz v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :catch_0
    move-exception v0

    const/4 v0, -0x1

    :cond_0
    return v0
.end method

.method private static d(Lnbisdk/b;Ljava/lang/String;I)Ljava/lang/String;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/jr;
        }
    .end annotation

    const-string v0, "cardinal"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0, p2}, Lnbisdk/b;->e(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const-string v0, "oname"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0, p2}, Lnbisdk/b;->f(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_1
    const-string v0, "dname"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0, p2}, Lnbisdk/b;->g(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_2
    const-string v0, "dname-base"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0, p2}, Lnbisdk/b;->h(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_3
    const-string v0, "aname"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0, p2}, Lnbisdk/b;->i(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_4
    const-string v0, "aname-base"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-virtual {p0, p2}, Lnbisdk/b;->j(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_5
    const-string v0, "tcode"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-virtual {p0, p2}, Lnbisdk/b;->l(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_6
    const-string v0, "scode"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    invoke-virtual {p0, p2}, Lnbisdk/b;->m(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_7
    new-instance v0, Lnbisdk/jr;

    const-string v1, "invalid name"

    invoke-direct {v0, v1}, Lnbisdk/jr;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private d(ILjava/lang/String;Ljava/lang/String;Lnbisdk/b;)Z
    .locals 2

    :try_start_0
    invoke-static {p4, p2, p1}, Lnbisdk/sh;->d(Lnbisdk/b;Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p4, p3, p1}, Lnbisdk/sh;->d(Lnbisdk/b;Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    :goto_0
    return v0

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    goto :goto_0
.end method

.method private e(Lnbisdk/b;I)D
    .locals 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/jr;
        }
    .end annotation

    invoke-virtual {p1, p2}, Lnbisdk/b;->c(I)D

    move-result-wide v0

    invoke-static {p1, p2}, Lnbisdk/sh;->d(Lnbisdk/b;I)I

    move-result v2

    add-int/lit8 v3, p2, 0x1

    :goto_0
    if-gt v3, v2, :cond_0

    :try_start_0
    invoke-virtual {p1, v3}, Lnbisdk/b;->c(I)D
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    move-result-wide v4

    add-double/2addr v0, v4

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :catch_0
    move-exception v2

    :cond_0
    return-wide v0
.end method


# virtual methods
.method public final a(IZLnbisdk/b;)Ljava/lang/String;
    .locals 5

    const/4 v4, 0x0

    :try_start_0
    invoke-static {p3, p1}, Lnbisdk/sh;->c(Lnbisdk/b;I)I

    move-result v0

    invoke-static {p3, p1}, Lnbisdk/sh;->a(Lnbisdk/b;I)[B

    move-result-object v1

    invoke-static {p3, p1}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v2

    const-string v3, "image"

    invoke-direct {p0, v3}, Lnbisdk/sh;->aO(Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v3

    if-eqz v3, :cond_0

    invoke-direct {p0, v3, v0, v1, v2}, Lnbisdk/sh;->a(Lnbisdk/fk;I[B[B)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-direct {p0, p1, v0, p3}, Lnbisdk/sh;->a(ILnbisdk/fk;Lnbisdk/b;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, "id"

    invoke-static {v0, v1}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    move-object v0, v4

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    const-wide/16 v1, 0x400

    const/4 v3, 0x4

    invoke-static {v0, v1, v2, v3}, Lnbisdk/pn;->a(Ljava/lang/String;JB)V

    move-object v0, v4

    goto :goto_0
.end method

.method public final a(IZZLjava/lang/String;Lnbisdk/b;)Lnbisdk/nu;
    .locals 7

    invoke-static {p5, p1}, Lnbisdk/sh;->c(Lnbisdk/b;I)I

    move-result v0

    invoke-static {p5, p1}, Lnbisdk/sh;->a(Lnbisdk/b;I)[B

    move-result-object v1

    invoke-static {p5, p1}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v2

    invoke-direct {p0, p4}, Lnbisdk/sh;->aO(Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v3

    if-eqz v3, :cond_0

    invoke-direct {p0, v3, v0, v1, v2}, Lnbisdk/sh;->a(Lnbisdk/fk;I[B[B)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_0

    new-instance v2, Lnbisdk/mz;

    invoke-direct {v2}, Lnbisdk/mz;-><init>()V

    move-object v0, p0

    move v3, p2

    move v4, p1

    move v5, p3

    move-object v6, p5

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    invoke-virtual {v2}, Lnbisdk/mz;->gj()Lnbisdk/nu;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final a(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V
    .locals 9

    const/4 v4, 0x0

    const/4 v3, -0x1

    const/4 v8, 0x0

    :try_start_0
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-static {p6, p4}, Lnbisdk/sh;->a(Lnbisdk/b;I)[B

    move-result-object v0

    invoke-static {p6, p4}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v1

    const/4 v2, -0x3

    if-ne p4, v2, :cond_1

    move v2, v4

    :goto_0
    invoke-static {p6, v2}, Lnbisdk/sh;->a(Lnbisdk/b;I)[B

    move-result-object v2

    const-string v3, "turn"

    invoke-static {p1, v3}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v3

    const-string v4, "stacknext"

    invoke-static {p1, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    const-string v5, "next"

    invoke-static {p1, v5}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v5

    array-length v6, v3

    if-lez v6, :cond_2

    :goto_1
    invoke-static {v3, v0}, Lnbisdk/qm;->b([B[B)I

    move-result v0

    if-eqz v0, :cond_0

    array-length v0, v4

    if-lez v0, :cond_3

    move-object v0, v4

    :goto_2
    invoke-static {v0, v1}, Lnbisdk/qm;->b([B[B)I

    move-result v0

    if-eqz v0, :cond_0

    array-length v0, v5

    if-lez v0, :cond_4

    move-object v0, v5

    :goto_3
    invoke-static {v0, v2}, Lnbisdk/qm;->b([B[B)I

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    :cond_0
    :goto_4
    return-void

    :cond_1
    add-int/lit8 v2, p4, 0x1

    goto :goto_0

    :cond_2
    move-object v3, v8

    goto :goto_1

    :cond_3
    move-object v0, v8

    goto :goto_2

    :cond_4
    move-object v0, v8

    goto :goto_3

    :cond_5
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-start-name"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-virtual {p6}, Lnbisdk/b;->d()Lnbisdk/ej;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lnbisdk/ej;->getName()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lnbisdk/ej;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V
    :try_end_0
    .catch Lnbisdk/jr; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_4

    :catch_0
    move-exception v0

    invoke-virtual {p6}, Lnbisdk/b;->s()Z

    move-result v1

    if-eqz v1, :cond_38

    throw v0

    :cond_6
    :try_start_1
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-start-phonenum"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    invoke-virtual {p6}, Lnbisdk/b;->d()Lnbisdk/ej;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lnbisdk/ej;->getPhoneNumberCount()I

    move-result v1

    if-lez v1, :cond_0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/eq;->getNumber()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto :goto_4

    :cond_7
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-destination-name"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    invoke-virtual {p6}, Lnbisdk/b;->e()Lnbisdk/ej;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lnbisdk/ej;->getName()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lnbisdk/ej;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_8
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-destination-phonenum"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    invoke-virtual {p6}, Lnbisdk/b;->e()Lnbisdk/ej;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lnbisdk/ej;->getPhoneNumberCount()I

    move-result v1

    if-lez v1, :cond_0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/eq;->getNumber()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_9
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-oname"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    invoke-virtual {p6, p4}, Lnbisdk/b;->f(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_a
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-dname"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    invoke-virtual {p6, p4}, Lnbisdk/b;->g(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_b
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-dname-base"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    invoke-virtual {p6, p4}, Lnbisdk/b;->h(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_c
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-aname"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_d

    invoke-virtual {p6, p4}, Lnbisdk/b;->i(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_d
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-aname-base"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    invoke-virtual {p6, p4}, Lnbisdk/b;->j(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_e
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "next"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_f

    add-int/lit8 v4, p4, 0x1

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v5, p5

    move-object v6, p6

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_f
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-equal"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    invoke-direct {p0, p1, p4, p6}, Lnbisdk/sh;->a(Lnbisdk/fk;ILnbisdk/b;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_10
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-equal"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_11

    invoke-direct {p0, p1, p4, p6}, Lnbisdk/sh;->a(Lnbisdk/fk;ILnbisdk/b;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_11
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-stack"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_12

    invoke-static {p6, p4}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v0

    if-eqz v0, :cond_0

    array-length v0, v0

    if-lez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_12
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-stack"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    invoke-static {p6, p4}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v0

    if-eqz v0, :cond_13

    array-length v0, v0

    if-nez v0, :cond_0

    :cond_13
    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_14
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "turn-sound"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1a

    invoke-virtual {p1}, Lnbisdk/fk;->aa()Lnbisdk/fk;

    move-result-object v0

    :goto_5
    if-eqz v0, :cond_3d

    invoke-virtual {v0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "section"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_17

    const-string v1, "name"

    invoke-static {v0, v1}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "traffic"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3d

    const/4 v0, 0x1

    :goto_6
    invoke-virtual {p6, p4}, Lnbisdk/b;->k(I)I

    move-result v1

    invoke-static {p6, p4}, Lnbisdk/sh;->a(Lnbisdk/b;I)[B

    move-result-object v2

    if-eqz v0, :cond_3c

    invoke-virtual {p6}, Lnbisdk/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    :goto_7
    if-eqz v0, :cond_0

    array-length v2, v0

    if-lez v2, :cond_0

    if-eq v1, v3, :cond_0

    const-string v2, "pos"

    invoke-static {p1, v2}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v2

    array-length v3, v2

    if-nez v3, :cond_15

    invoke-static {v1}, Lnbisdk/sh;->bs(I)[B

    move-result-object v1

    move-object v2, v1

    :cond_15
    iget-object v1, p0, Lnbisdk/sh;->zN:Lnbisdk/fk;

    const-string v3, "turn-sounds"

    invoke-static {v1, v3}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v3

    :cond_16
    invoke-interface {v3}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v3}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/fk;

    const-string v4, "pos"

    invoke-static {v1, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    const-string v5, "turn"

    invoke-static {v1, v5}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v5

    invoke-virtual {v1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v6

    const-string v7, "define-turn-sound"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_16

    array-length v6, v4

    if-lez v6, :cond_18

    :goto_8
    invoke-static {v4, v2}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_16

    array-length v4, v5

    if-lez v4, :cond_19

    move-object v4, v5

    :goto_9
    invoke-static {v4, v0}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_16

    move-object v0, p0

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move-object v6, p6

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_17
    invoke-virtual {v0}, Lnbisdk/fk;->aa()Lnbisdk/fk;

    move-result-object v0

    goto/16 :goto_5

    :cond_18
    move-object v4, v8

    goto :goto_8

    :cond_19
    move-object v4, v8

    goto :goto_9

    :cond_1a
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "stack-sound"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1f

    invoke-virtual {p6, p4}, Lnbisdk/b;->k(I)I

    move-result v0

    invoke-static {p6, p4}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v2

    if-eqz v2, :cond_0

    array-length v1, v2

    if-lez v1, :cond_0

    if-eq v0, v3, :cond_0

    const-string v1, "pos"

    invoke-static {p1, v1}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v1

    if-eqz v1, :cond_1b

    array-length v3, v1

    if-nez v3, :cond_3b

    :cond_1b
    invoke-static {v0}, Lnbisdk/sh;->bs(I)[B

    move-result-object v0

    :goto_a
    iget-object v1, p0, Lnbisdk/sh;->zN:Lnbisdk/fk;

    const-string v3, "turn-sounds"

    invoke-static {v1, v3}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v3

    :cond_1c
    invoke-interface {v3}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v3}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/fk;

    const-string v4, "pos"

    invoke-static {v1, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    const-string v5, "turn"

    invoke-static {v1, v5}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v5

    invoke-virtual {v1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v6

    const-string v7, "define-turn-sound"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_1c

    array-length v6, v4

    if-lez v6, :cond_1d

    :goto_b
    invoke-static {v4, v0}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_1c

    array-length v4, v5

    if-lez v4, :cond_1e

    move-object v4, v5

    :goto_c
    invoke-static {v4, v2}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_1c

    move-object v0, p0

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move-object v6, p6

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_1d
    move-object v4, v8

    goto :goto_b

    :cond_1e
    move-object v4, v8

    goto :goto_c

    :cond_1f
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "transition-sound"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_24

    invoke-virtual {p6, p4}, Lnbisdk/b;->k(I)I

    move-result v0

    invoke-static {p6, p4}, Lnbisdk/sh;->a(Lnbisdk/b;I)[B

    move-result-object v2

    if-eqz v2, :cond_0

    array-length v1, v2

    if-lez v1, :cond_0

    if-eq v0, v3, :cond_0

    const-string v1, "pos"

    invoke-static {p1, v1}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v1

    if-eqz v1, :cond_20

    array-length v3, v1

    if-nez v3, :cond_3a

    :cond_20
    invoke-static {v0}, Lnbisdk/sh;->bs(I)[B

    move-result-object v0

    :goto_d
    iget-object v1, p0, Lnbisdk/sh;->zN:Lnbisdk/fk;

    const-string v3, "transition-sounds"

    invoke-static {v1, v3}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v3

    :cond_21
    invoke-interface {v3}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v3}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/fk;

    const-string v4, "pos"

    invoke-static {v1, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    const-string v5, "turn"

    invoke-static {v1, v5}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v5

    invoke-virtual {v1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v6

    const-string v7, "define-transition-sound"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_21

    array-length v6, v4

    if-lez v6, :cond_22

    :goto_e
    invoke-static {v4, v0}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_21

    array-length v4, v5

    if-lez v4, :cond_23

    move-object v4, v5

    :goto_f
    invoke-static {v4, v2}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_21

    move-object v0, p0

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move-object v6, p6

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_22
    move-object v4, v8

    goto :goto_e

    :cond_23
    move-object v4, v8

    goto :goto_f

    :cond_24
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "stack-transition-sound"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_29

    invoke-virtual {p6, p4}, Lnbisdk/b;->k(I)I

    move-result v0

    invoke-static {p6, p4}, Lnbisdk/sh;->b(Lnbisdk/b;I)[B

    move-result-object v2

    if-eqz v2, :cond_0

    array-length v1, v2

    if-lez v1, :cond_0

    if-eq v0, v3, :cond_0

    const-string v1, "pos"

    invoke-static {p1, v1}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v1

    if-eqz v1, :cond_25

    array-length v3, v1

    if-nez v3, :cond_39

    :cond_25
    invoke-static {v0}, Lnbisdk/sh;->bs(I)[B

    move-result-object v0

    :goto_10
    iget-object v1, p0, Lnbisdk/sh;->zN:Lnbisdk/fk;

    const-string v3, "transition-sounds"

    invoke-static {v1, v3}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v3

    :cond_26
    invoke-interface {v3}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v3}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/fk;

    const-string v4, "pos"

    invoke-static {v1, v4}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v4

    const-string v5, "turn"

    invoke-static {v1, v5}, Lnbisdk/ok;->k(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v5

    invoke-virtual {v1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v6

    const-string v7, "define-transition-sound"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_26

    array-length v6, v4

    if-lez v6, :cond_27

    :goto_11
    invoke-static {v4, v0}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_26

    array-length v4, v5

    if-lez v4, :cond_28

    move-object v4, v5

    :goto_12
    invoke-static {v4, v2}, Lnbisdk/qm;->b([B[B)I

    move-result v4

    if-eqz v4, :cond_26

    move-object v0, p0

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move-object v6, p6

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_27
    move-object v4, v8

    goto :goto_11

    :cond_28
    move-object v4, v8

    goto :goto_12

    :cond_29
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-unnamed"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2a

    invoke-virtual {p6, p4}, Lnbisdk/b;->n(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_2a
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-unnamed"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2b

    invoke-virtual {p6, p4}, Lnbisdk/b;->n(I)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_2b
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-toward-name"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2c

    invoke-virtual {p6, p4}, Lnbisdk/b;->o(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_2c
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-toward-name"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2d

    invoke-virtual {p6, p4}, Lnbisdk/b;->o(I)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_2d
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-next-named"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2e

    invoke-static {p6, p4}, Lnbisdk/sh;->d(Lnbisdk/b;I)I

    move-result v0

    if-eq v0, v3, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_2e
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-next-named"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2f

    invoke-static {p6, p4}, Lnbisdk/sh;->d(Lnbisdk/b;I)I

    move-result v0

    if-ne v0, v3, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_2f
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "next-named"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_30

    invoke-static {p6, p4}, Lnbisdk/sh;->d(Lnbisdk/b;I)I

    move-result v0

    if-eq v0, v3, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_30
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-lookahead"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_31

    if-eqz p3, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_31
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-lookahead"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_32

    if-nez p3, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_32
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-next-named-dist-lt-max"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_33

    invoke-direct {p0, p6, p4}, Lnbisdk/sh;->e(Lnbisdk/b;I)D

    move-result-wide v0

    invoke-virtual {p6}, Lnbisdk/b;->g()D

    move-result-wide v2

    cmpg-double v0, v0, v2

    if-gtz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_33
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-navigating"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_34

    invoke-virtual {p6}, Lnbisdk/b;->i()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_34
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-not-navigating"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_35

    invoke-virtual {p6}, Lnbisdk/b;->i()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_35
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-ferry-on-route"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_36

    invoke-virtual {p6}, Lnbisdk/b;->o()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_36
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "if-show-speed-camera"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_37

    invoke-virtual {p6}, Lnbisdk/b;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct/range {p0 .. p6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V

    goto/16 :goto_4

    :cond_37
    invoke-virtual {p1}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "next-significant"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p6, p4}, Lnbisdk/b;->t(I)I

    move-result v4

    if-eq v4, v3, :cond_0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v5, p5

    move-object v6, p6

    invoke-direct/range {v0 .. v6}, Lnbisdk/sh;->b(Lnbisdk/fk;Lnbisdk/mz;ZIZLnbisdk/b;)V
    :try_end_1
    .catch Lnbisdk/jr; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_4

    :cond_38
    invoke-virtual {v0}, Lnbisdk/jr;->getMessage()Ljava/lang/String;

    move-result-object v0

    const-wide/16 v1, 0x400

    const/4 v3, 0x2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/pn;->a(Ljava/lang/String;JB)V

    goto/16 :goto_4

    :cond_39
    move-object v0, v1

    goto/16 :goto_10

    :cond_3a
    move-object v0, v1

    goto/16 :goto_d

    :cond_3b
    move-object v0, v1

    goto/16 :goto_a

    :cond_3c
    move-object v0, v2

    goto/16 :goto_7

    :cond_3d
    move v0, v4

    goto/16 :goto_6
.end method

.method public final a(Lnbisdk/t;)V
    .locals 2

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "element is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    invoke-interface {p1}, Lnbisdk/t;->C()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/fk;

    iput-object v0, p0, Lnbisdk/sh;->zN:Lnbisdk/fk;

    return-void
.end method
